package com.szbmyoubao.app.view.image

import android.content.Context
import android.util.AttributeSet
import androidx.appcompat.widget.AppCompatImageView
import com.ellecity06.cwhiskymall.R

/**
 * @author ellecity06
 * @time 2025/3/12 17:08
 * @des
 */
class VideoPlayImage @JvmOverloads constructor(
    context: Context,
    attrs: AttributeSet? = null,
    defStyleAttr: Int = 0
) : AppCompatImageView(context, attrs, defStyleAttr) {
    var isPlaying: Boolean = false
        private set

    init {
        setState(false)
    }


    fun setState(isPlaying: Boolean) {
//        setImageResource(if (isPlaying) R.mipmap.icon_voice_pause else R.mipmap.icon_voice_play)
    }


}